const mongoose = require('mongoose');
var mongoosepaginate = require('mongoose-paginate');
var CommitSchema = new mongoose.Schema({
    // title: String,
    desc: String,
    comid: String,
    date: String,
    newstitle: String
        // parenttitle: String
        // date: date
});
CommitSchema.plugin(mongoosepaginate);
module.exports = mongoose.model('Commit', CommitSchema);